package com.micai.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * 描述：
 * <p>
 * Author: 赵新国
 * Date: 2017/11/10 18:31
 */
@Controller
public class BlogController {

    /**
     * 首页
     * @return
     */
    @RequestMapping("/detail")
    public String detail(Map<String,Object> map) {
        map.put("name", "[Angel -- 守护天使]");
        return "front/detail";
    }
}
